/*


 */

package jas.http.rpc;

import jas.rpc.Remote;
import jas.bank.Account;
import java.util.ArrayList;
import java.util.List;

/**
 *
 *
 */
public class AccountManagerImpl implements Remote {
    
    private ArrayList<Account> accounts = new ArrayList<Account>();
    
    public List<Account> getAccounts() {
        return accounts;
    }
    
    public void addAccount(Account account) {
        accounts.add(account);
    }
    
}
